﻿using System;

namespace BwanaBank.BankOnline.WinUI.Window
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Response.Redirect(Request.Cookies["customer"] != null || Session["customer"] != null ? "~/Customer/Home.aspx" : "~/Home.aspx");
            Response.Redirect(Request.Cookies["admin"] != null || Session["admin"] != null ? "~/Admin/Home.aspx" : "~/Home.aspx");
        }
    }
}